public class Code013 {
	public static void main(String[] args) {
		int a=1;
		int i=1;
		int b=1;
		int c=1;
		
		
		while(i<=10){
			a=a*2;
			i++;
		}
		System.out.println(a);
		
		
		do{
			b=b*2;
			c++;
		}while(c<=10);
		System.out.println(b);
		
		int d=1;
		for(int e=1;e<=10;e++){
			d=d*2;
		}
		System.out.println(d);
		
		
		
		
		
	}

}
